.class public Lcom/estrongs/android/pop/app/filetransfer/adapter/SendAndReceiveViewHolder;
.super Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferViewHolder;
.source "SendAndReceiveViewHolder.java"


# instance fields
.field private c:Landroid/widget/Button;

.field private d:Landroid/widget/Button;

.field private e:Landroid/widget/TextView;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    const v0, 0x7f0c0174

    .line 1
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferViewHolder;-><init>(Landroid/content/Context;I)V

    return-void
.end method


# virtual methods
.method protected a(Landroid/view/View;)V
    .locals 3

    .line 1
    iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    const/4 v1, -0x1

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Landroid/view/ViewGroup$LayoutParams;

    const/4 v2, -0x2

    invoke-direct {v0, v1, v2}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    .line 3
    iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_0

    .line 4
    :cond_0
    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    :goto_0
    const v0, 0x7f0901c4

    .line 5
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SendAndReceiveViewHolder;->c:Landroid/widget/Button;

    .line 6
    invoke-virtual {v0}, Landroid/widget/Button;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferViewHolder;->b:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0700fa

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v1

    iput v1, v0, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    const v0, 0x7f0901be

    .line 7
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SendAndReceiveViewHolder;->d:Landroid/widget/Button;

    const v0, 0x7f090ce8

    .line 8
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SendAndReceiveViewHolder;->e:Landroid/widget/TextView;

    .line 9
    invoke-virtual {p1}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;

    move-result-object p1

    const/16 v0, 0x8

    invoke-virtual {p1, v0}, Landroid/text/TextPaint;->setFlags(I)V

    .line 10
    iget-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SendAndReceiveViewHolder;->e:Landroid/widget/TextView;

    new-instance v0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SendAndReceiveViewHolder$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/filetransfer/adapter/SendAndReceiveViewHolder$a;-><init>(Lcom/estrongs/android/pop/app/filetransfer/adapter/SendAndReceiveViewHolder;)V

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 11
    iget-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SendAndReceiveViewHolder;->c:Landroid/widget/Button;

    new-instance v0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SendAndReceiveViewHolder$b;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/filetransfer/adapter/SendAndReceiveViewHolder$b;-><init>(Lcom/estrongs/android/pop/app/filetransfer/adapter/SendAndReceiveViewHolder;)V

    invoke-virtual {p1, v0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 12
    iget-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SendAndReceiveViewHolder;->d:Landroid/widget/Button;

    new-instance v0, Lcom/estrongs/android/pop/app/filetransfer/adapter/SendAndReceiveViewHolder$c;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/filetransfer/adapter/SendAndReceiveViewHolder$c;-><init>(Lcom/estrongs/android/pop/app/filetransfer/adapter/SendAndReceiveViewHolder;)V

    invoke-virtual {p1, v0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method public a(Ljava/lang/Object;)V
    .locals 0

    return-void
.end method
